package com.restaurant.service;

import java.util.List;
import com.restaurant.domain.Person;

public interface PersonService {

   public Person addOrModify( Person objPerson ) throws Exception;
   public Person deleteRecord( Person objPerson ) throws Exception;
   public Person modifyRecord( Person objPerson ) throws Exception;
   public List<Person> loadAll() throws Exception;
   public Person loadByPrimaryKey( Long primaryKey ) throws Exception;
   public Person deleteByPrimaryKey( Long primaryKey ) throws Exception;
   public List<Person> loadByHql( String query ) throws Exception;

}